﻿using Test.Interface;

namespace Test.Implement
{
    public class AppFactoryImpl: IAppFactory
    {
        /// <summary>
        /// 验证登录
        /// </summary>
        /// <returns></returns>
        public ILogin Login()
        {
           return new LoginImpl();
        }

        /// <summary>
        /// 用户管理
        /// </summary>
        /// <returns></returns>
        public IUser User()
        {
            return new UserImpl();
        }

        /// <summary>
        /// 机构管理
        /// </summary>
        /// <returns></returns>
        public IOrg Org()
        {
            return new OrgImpl();
        }
    }
}